import { createRouter, createWebHistory } from "vue-router";
import routes from "./routes";
const router = createRouter({
    history:createWebHistory(),//history路由模式 createWebHashHistory() -hash路由模式   
    routes
})
export default router